package xnj.lazydog.btcontroller.ButtonEdit;

import android.widget.Button;

import xnj.lazydog.btcontroller.HexStringUtils.HexStr;

public class SendButton {

    Button button;
    public String down_text;
    public String up_text;
    public boolean isHex;
    public byte[] data;

    public void getRawData(boolean upNDown)
    {
        if(upNDown)
            data = HexStr.str2Bytes(up_text);
        else
            data = HexStr.str2Bytes(down_text);
    }
}
